/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mancala;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author jsiebena
 */
public class EasyAITest1 {
    
    public EasyAITest1() {
    }
    
    @BeforeClass
    public static void setUpClass() {
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of ChooseHole method, of class EasyAI.
     */
    @Test
    public void testChooseHole() {
        System.out.println("ChooseHole");
        int[] ReturnHoleValues = new int [16];
        
        for(int i = 1; i < ReturnHoleValues.length; i ++){
            
            ReturnHoleValues[i] = 7;
        }
        int nexthole = 1;
        int expResult = 2;
        int result = EasyAI.ChooseHole(ReturnHoleValues, nexthole);
        assertEquals(expResult, result);
       
    }
}
